package com.example.zluserservice;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.web.context.request.RequestContextListener;

@Slf4j
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.example.zluserservice.client") // 指定接口包路径
@EnableCaching
@SpringBootApplication
public class ZlUserServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZlUserServiceApplication.class, args);
        log.info("用户服务-用户管理微服务启动");
    }

}
